﻿<td class="width50px">
    <span data-bind="text: Id, visible: Id"></span>
    <span data-bind="visible: !Id()" style="color:blue">NEW</span>
</td>
<td class="width200px">
    <input data-bind="value: Sponsor" /><br/>
    <span data-bind="validationMessage: Sponsor" style="color:red"></span>
</td>
<td class="width200px">
    <input data-bind="value: Protocol" /><br/>
    <span data-bind="validationMessage: Protocol" style="color:red"></span>
</td>
<td class="width50px">
    <input type="checkbox" data-bind="checked:IsActive" />
</td>
<td class="width250px">
    <button data-bind="click: $parent.SaveStudy">Save</button>
    &nbsp;&nbsp;
    <button data-bind="click: $parent.Cancel">Cancel</button>
</td>